package edu.njust.domain;

import com.fasterxml.jackson.annotation.JsonProperty;

public class Consumer {
    @JsonProperty("id")
    private int id;
    @JsonProperty("pwd")
    private String pwd;//密码
    @JsonProperty("papersID")
    private int papersID;              //证件ID
    @JsonProperty("educationDegreeID")
    private int educationDegreeID;     //文化程度ID
    @JsonProperty("genderID")
    private int genderID;              //性别ID
    @JsonProperty("nationID")
    private int nationID;              //民族ID
    @JsonProperty("thingReasonID")
    private int thingReasonID;         //事由
    @JsonProperty("name")
    private String name;                   //姓名
    @JsonProperty("papersNumber")
    private String papersNumber;           //证件号码
    @JsonProperty("birthDate")
    private String birthDate;              //出生日期
    @JsonProperty("unitsOrAddress")
    private String unitsOrAddress;         //单位或住址
    @JsonProperty("profession")
    private String profession;             //职业
    @JsonProperty("contactPhoneNumber")
    private String contactPhoneNumber;     //联系电话
    @JsonProperty("remarks")
    private String remarks;                //备注
    //查表attribute,得到id的名称
    @JsonProperty("papersName")
    private String papersName;
    @JsonProperty("educationDegreeName")
    private String educationDegreeName;
    @JsonProperty("genderName")
    private String genderName;
    @JsonProperty("nationName")
    private String nationName;
    @JsonProperty("thingReasonName")
    private String thingReasonName;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
    public int getPapersID() {
        return papersID;
    }

    public void setPapersID(int papersID) {
        this.papersID = papersID;
    }

    public int getEducationDegreeID() {
        return educationDegreeID;
    }

    public void setEducationDegreeID(int educationDegreeID) {
        this.educationDegreeID = educationDegreeID;
    }

    public int getGenderID() {
        return genderID;
    }

    public void setGenderID(int genderID) {
        this.genderID = genderID;
    }

    public int getNationID() {
        return nationID;
    }

    public void setNationID(int nationID) {
        this.nationID = nationID;
    }

    public int getThingReasonID() {
        return thingReasonID;
    }

    public void setThingReasonID(int thingReasonID) {
        this.thingReasonID = thingReasonID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPapersNumber() {
        return papersNumber;
    }

    public void setPapersNumber(String papersNumber) {
        this.papersNumber = papersNumber;
    }

    public String getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(String birthDate) {
        this.birthDate = birthDate;
    }

    public String getUnitsOrAddress() {
        return unitsOrAddress;
    }

    public void setUnitsOrAddress(String unitsOrAddress) {
        this.unitsOrAddress = unitsOrAddress;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public String getContactPhoneNumber() {
        return contactPhoneNumber;
    }

    public void setContactPhoneNumber(String contactPhoneNumber) {
        this.contactPhoneNumber = contactPhoneNumber;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getPapersName() {
        return papersName;
    }

    public void setPapersName(String papersName) {
        this.papersName = papersName;
    }

    public String getEducationDegreeName() {
        return educationDegreeName;
    }

    public void setEducationDegreeName(String educationDegreeName) {
        this.educationDegreeName = educationDegreeName;
    }

    public String getGenderName() {
        return genderName;
    }

    public void setGenderName(String genderName) {
        this.genderName = genderName;
    }

    public String getNationName() {
        return nationName;
    }

    public void setNationName(String nationName) {
        this.nationName = nationName;
    }

    public String getThingReasonName() {
        return thingReasonName;
    }

    public void setThingReasonName(String thingReasonName) {
        this.thingReasonName = thingReasonName;
    }
}
